import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import java.util.ArrayList;

import javax.xml.parsers.*;
import org.xml.sax.*;
import org.xml.sax.helpers.DefaultHandler;

public class caseSwitch {

	public enum Days {

	    MONDAY,
	    TUESDAY,
	    WEDNESDAY,
	    THURSDAY,
	    FRIDAY,
	    SATURDAY,
	    SUNDAY,
	    END
	}
	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		
		boolean running = true;
		BufferedReader inputLine = new BufferedReader(new InputStreamReader(System.in));
		String sen = "";
//		while(running){
//			System.out.print("input: ");
//			sen = inputLine.readLine();
//			int data = Integer.parseInt(sen);
//			switch (data) {
//            case 100:  System.out.println("Log in");
//                     break;
//            case 101:  System.out.println("select");
//                     break;
//            case 102:  System.out.println("insert");
//                     break;
//            case 103:  System.out.println("update");
//                     break;
//            case 111:  System.out.println("logout");
//            		 running = false;
//            		 break;
//            default: System.out.println("invalid");
//                     break;
//			}
//		}
		
		Days day ;
		while(running){
			System.out.print("input: ");
			sen = inputLine.readLine();
			day = Days.valueOf(sen.toUpperCase());
			switch (day) {
            case MONDAY:  System.out.println("MONDAY");
                     break;
            case TUESDAY:  System.out.println("TUESDAY");
                     break;
            case WEDNESDAY:  System.out.println("WEDNESDAY");
                     break;
            case THURSDAY:  System.out.println("THURSDAY");
                     break;
            case FRIDAY:  System.out.println("FRIDAY");
            		 break;
            case SATURDAY:  System.out.println("SATURDAY");
            		break;
            case SUNDAY:  System.out.println("SUNDAY");
            		break;
            case END:  System.out.println("END");
   		 			running = false;
   		 			break;            		 
            default  : System.out.println("invalid");
                     break;
			}
		}


	}

}
